package org.artifact.builder.design;

import lombok.Data;
import org.artifact.builder.enums.BuilderDatabaseEnum;
import org.artifact.builder.enums.BuilderMethodEnum;
import org.artifact.core.cache.AbstractCache;

@Data
public class DesignConfig {
	private BuilderDatabaseEnum type;
	
	private String databaseName;
	
	private String tablePrefix;
	
	private BuilderMethodEnum[] methods;

	/** 是否是日志模式 */
	private boolean logMode;

	/** 是否是同步模式 */
	private Boolean sync = null;

	/** 缓存 */
	private Class<? extends AbstractCache> cache;
}
